home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 …ember: Reference Library / Dev.CD Dec 97 RL.toast / What's New / Development Kits / TEC 1.2.1 / Sample Code / DropEncoder / DropEncoder ReadMe < prev    next >
Encoding:
Text File  |  1997-09-24  |  665 b   |  22 lines  |  [TEXT/ttxt]

  1. DropEncoder Read Me
  2.  
  3. DropEncoder reads a text file, attempts to determine the encoding, and then converts it to the equivalent MacOS encoding. In this sample code, the locale of verJapan and encoding of kTextEncodingMacJapanese are assumed.
  4.  
  5. Two sample files are provided:
  6.  
  7. //www.yahoo.co.jp/     ---  It's encoding is EUC_JP
  8. w_index.html               ---  It's encoding is Shift JIS
  9.  
  10. Both files will get converted to MacOS Japanese.
  11.  
  12.  
  13. To compile the application you will require:
  14.  
  15. TEC 1.2.1 SDK
  16. CodeWarrior 11
  17. MasterInterfaces 3.0.1
  18.  
  19. Modifications to the project required:
  20.  
  21. Access path to MasterInterfaces 3.0.1
  22. Add a path to the Stub Libraries folder in the SDK.